/*
 * Copyright 2011 The Rusted Roof, LLC.
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */

package org.proteusframework.sample.plugin.spi;

import org.proteusframework.api.config.IConfigPropertyPrototype;
import org.proteusframework.api.model.IDisplayableName;
import org.proteusframework.spi.ProteusPluginFactory;

import java.util.List;

/**
 * Base class that every envelope provider must extend.
 *
 * @author Tacoma Four
 */
public abstract class SamplePluginFactory extends ProteusPluginFactory
{
    /**
     * Defines a provider with the given displayable name.
     *
     * @param displayableName     Displayable name
     * @param implementationClass Implementation class
     */
    public SamplePluginFactory(IDisplayableName displayableName, Class implementationClass)
    {
        super(displayableName, implementationClass);
    }

    /**
     * Defines a provider with the given displayable name and collection of configuration prototype properties.
     *
     * @param displayableName     Displayable name
     * @param implementationClass Implementation class
     * @param providerProperties  Non-null collection of configuration property prototypes
     */
    public SamplePluginFactory(IDisplayableName displayableName, Class implementationClass, List<IConfigPropertyPrototype> providerProperties)
    {
        super(displayableName, implementationClass, providerProperties);
    }
}
